package com.link.base.base.alert.controller;

import javax.annotation.Resource;

import com.link.base.base.alert.model.AlertRecord;
import com.link.base.base.alert.service.AlertRecordService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 预警记录- 
 *
 * @author 宁蓝昊
 * @date 2019/10/10 11:59
 */
@Controller
@RequestMapping("/link/alertRecord")
public class AlertRecordController extends BasicController<AlertRecord> {

    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private AlertRecordService alertRecordService;

    @Override
    public BasicService<AlertRecord> getBasicService() throws Exception {
        return alertRecordService;
    }     
}
